|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
crmacd Smarty n00b
Joined: 26 Sep 2003 Posts: 1 Location: United States, Texas
|
Posted: Fri Sep 26, 2003 4:56 pm Post subject: Installing Smarty on Mac OS X... |
|
|
I have been having a little problem attempting to install Smarty on Mac OS X (Jaguar).
1.)
I created a /usr/local/lib/php/ directory and copied the classes into a Smarty sub-directory.
Restarted Apache... no such luck.
2.)
Step 1.
I then created a php.ini file with the following.
include_path = ".:/usr/local/lib/php/";
Restarted Apache... no such luck.
3.)
Removed the files and dir. created from the above steps.
I changed directories to /usr/lib/php/extensions/ and copied the classes into a Smarty sub-directory.
Restarted Apache... no such luck.
4.)
Step 3.
I then created a php.ini file with the following.
include_path = ".:/usr/lib/php/";
Restarted Apache... no such luck.
5.)
Moving the files into the extension directory listed below... still nothing.
Do I just dump the files into the directory or do I create Smarty sub-directories like I've been doing?
========
The following are the error messages.
Warning: main(Smarty.class.php) [function.main]: failed to create stream: No such file or directory in /Users/crmacd/Sites/smarty_test.php on line 5
Fatal error: main() [function.main]: Failed opening required 'Smarty.class.php' (include_path='.:/usr/local/lib/php') in /Users/crmacd/Sites/smarty_test.php on line 5
========
The URL that generated the error. (Sorry not online.)
http://localhost/~crmacd/smarty_test.php
======
So I copied the classes to what I thought was the include file location according to phpinfo(); included below. (And still nothing.)
extension_dir
/usr/local/lib/php/extensions/no-debug-non-zts-20020429
/usr/local/lib/php/extensions/no-debug-non-zts-20020429
file_uploads
On
On
gpc_order
GPC
GPC
highlight.bg
#FFFFFF
#FFFFFF
highlight.comment
#FF8000
#FF8000
highlight.default
#0000BB
#0000BB
highlight.html
#000000
#000000
highlight.keyword
#007700
#007700
highlight.string
#DD0000
#DD0000
html_errors
On
On
ignore_repeated_errors
Off
Off
ignore_repeated_source
Off
Off
ignore_user_abort
Off
Off
implicit_flush
Off
Off
include_path
.:/usr/local/lib/php
.:/usr/local/lib/php
=====
Any help or pointers would really be great.
Thanks for your time in advance. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|