Apache-PHP

Mack Johnson m_nez_j at mac.com
Wed Nov 1 17:57:23 PST 2006


i got this error


Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/ 
to/apxs
3. Apache was not built using --enable-so (the apxs usage page is  
displayed)

The output of /opt/local/apache2/bin/apxs follows:
./configure: line 6335: /opt/local/apache2/bin/apxs: No such file or  
directory
configure: error: Aborting


On Nov 1, 2006, at 5:51 PM, Mack Johnson wrote:

> oh yea, I am installing through DP.
>
> On Nov 1, 2006, at 5:46 PM, Mack Johnson wrote:
>
>> I'm sorry, I'm upgrading to latest now. i'll test as soon as they  
>> finish.
>>
>> On Nov 1, 2006, at 5:23 PM, Ryan Schmidt wrote:
>>
>>>
>>> On Nov 1, 2006, at 19:08, Mack Johnson wrote:
>>>
>>>> i just installed Apache & PHP, is there anything els i should do  
>>>> get this to work on my g4 os 10.4.8? i am just starting to learn  
>>>> php and need these things working.
>>>
>>> Well, you didn't tell us much. How did you install it? What isn't  
>>> working? What have you tried so far?
>>>
>>> You also didn't mention whether you're using Apache 1 or 2. I  
>>> recommend Apache 2. You would install it this way:
>>>
>>> sudo port install apache2
>>> sudo port install php5 +apache2
>>>
>>> These commands will each print out instructions at the end  
>>> showing you how to complete the installation and activation.
>>>
>>>
>>> The php5 port might possibly not tell you everything you need to  
>>> do to activate it. If after doing the above php5 doesn't work,  
>>> you may need to add these two lines to your httpd.conf file  
>>> (that's /opt/local/apache2/conf/httpd.conf) inside the "IfModule  
>>> mime_module" section:
>>>
>>> AddType application/x-httpd-php .php
>>> AddType application/x-httpd-php-source .phps
>>>
>>> Save the file, restart Apache 2 ("sudo /opt/local/apache2/bin/ 
>>> apachectl/graceful"), and php5 should then work.
>>>
>>>
>>
>> Mack Johnson
>> m_nez_j at mac.com
>> http://macknezjohnson.com
>>
>>
>>
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/macports-users
>
> Mack Johnson
> m_nez_j at mac.com
> http://macknezjohnson.com
>
>
>

Mack Johnson
m_nez_j at mac.com
http://macknezjohnson.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20061101/a4a0f71c/attachment.html


More information about the macports-users mailing list