where to put php extensions
Posted: Wed Oct 11, 2006 10:57 am
i have fedora core 5 and i have never installed webserver/php in Linux; just used it all these years!
actually i thought of installing apache and php using rpms but i came to see that they are pre-installed.
The httpd is working and php is working as well.
I have a few clarifications now:
1. when i see the httpd.conf file in /etc/httpd/conf/httpd.conf, i cannot see any line that adds module to execute php files eventhough i see the MIME type added
2. I need to load extensions for php like this one
extension=php_domxml.dll
and when i was looking at php.ini i see that there is no extension line mentioned? now my questions are
2.1 where should i create extensions directory in system optimally?
2.2. where can i get the .so files which are extensions for Linux?
2.3. how do I install PEAR from here?
3. My Linux system does not have internet connection so do you think this will be a problem when using PEAR because I am trying to use symfony framework and I doubt symfony framework might try to download packages dynamically?
[EDITED]
3.2. PEAR is not installed so far; the last time I installed in Windows, there was a go-pear file which downloaded the PEAR manager and i then used PEAR manager to download packages but this system does not have internet connection so how do I install package manager?
do you guys also suggest me to directly download the packages instead of going through PEAR manager?
4. since httpd is pre-installed, I do not really know how to start or stop the process? It does not appear to be installed as service because I tried this and it does not work
service start apache
5. how to add apache as service so that is starts up when system is started?
Any help would be deeply appreciated.
actually i thought of installing apache and php using rpms but i came to see that they are pre-installed.
The httpd is working and php is working as well.
I have a few clarifications now:
1. when i see the httpd.conf file in /etc/httpd/conf/httpd.conf, i cannot see any line that adds module to execute php files eventhough i see the MIME type added
2. I need to load extensions for php like this one
extension=php_domxml.dll
and when i was looking at php.ini i see that there is no extension line mentioned? now my questions are
2.1 where should i create extensions directory in system optimally?
2.2. where can i get the .so files which are extensions for Linux?
2.3. how do I install PEAR from here?
3. My Linux system does not have internet connection so do you think this will be a problem when using PEAR because I am trying to use symfony framework and I doubt symfony framework might try to download packages dynamically?
[EDITED]
3.2. PEAR is not installed so far; the last time I installed in Windows, there was a go-pear file which downloaded the PEAR manager and i then used PEAR manager to download packages but this system does not have internet connection so how do I install package manager?
do you guys also suggest me to directly download the packages instead of going through PEAR manager?
4. since httpd is pre-installed, I do not really know how to start or stop the process? It does not appear to be installed as service because I tried this and it does not work
service start apache
5. how to add apache as service so that is starts up when system is started?
Any help would be deeply appreciated.