webhead Posted April 12, 2006 Share Posted April 12, 2006 I went to [a href=\"http://developer.apple.com/internet/opensource/php.html\" target=\"_blank\"]http://developer.apple.com/internet/opensource/php.html[/a] and followed the instructions. First I downloaded php 5.1.2 and uncompressed it. Then I went into Terminal:[code]cd /Applicationscd \php-5.1.2sudo mv libphp5Password: nnnnnnnnusage: mv [-f | -i | -n] [-v] source target mv [-f | -i | -n] [-v] source ... directorysudo apxs -e -a -n php5 libexec/httpd/libphp5.so[activating module `php5' in /private/etc/httpd/httpd.conf]cp /private/etc/httpd/httpd.conf /private/etc/httpd/httpd.conf.bakcp /private/etc/httpd/httpd.conf.new /private/etc/httpd/httpd.confrm /private/etc/httpd/httpd.conf.newsudo open -a TextEdit /etc/httpd/httpd.conf------ need to change line near end: "<IfModule mod_php4.c>" to 5 ------------------------- (wouldn't let me edit and save ) -----------------------------sudo apachectl graceful/usr/sbin/apachectl graceful: configuration broken, ignoring restart/usr/sbin/apachectl graceful: (run 'apachectl configtest' for details)apachectl configtestSyntax error on line 243 of /etc/httpd/httpd.conf:Cannot load /usr/libexec/httpd/libphp5.so into server: (reason unknown)[/code]Help please? Quote Link to comment https://forums.phpfreaks.com/topic/7244-php-512-on-imac-intel-cant-edit-httpdconf/ Share on other sites More sharing options...
webhead Posted April 15, 2006 Author Share Posted April 15, 2006 hello? Quote Link to comment https://forums.phpfreaks.com/topic/7244-php-512-on-imac-intel-cant-edit-httpdconf/#findComment-27237 Share on other sites More sharing options...
webhead Posted April 19, 2006 Author Share Posted April 19, 2006 little help? Quote Link to comment https://forums.phpfreaks.com/topic/7244-php-512-on-imac-intel-cant-edit-httpdconf/#findComment-28536 Share on other sites More sharing options...
webhead Posted April 25, 2006 Author Share Posted April 25, 2006 :sigh: Quote Link to comment https://forums.phpfreaks.com/topic/7244-php-512-on-imac-intel-cant-edit-httpdconf/#findComment-30773 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.