Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Php+mysql+apache Problem
jmut
post Jun 22 2004, 07:15 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 22-June 04
Member No.: 3,201



Hi, sorry if this is not the best place to post this problem.
I am a beginner in Slackware and by default I had apache , php 4.3.3 and MySQL 4.0.15a installed. I removed apache cause I wanted to install newer version (2.0.49) I installed it with default options in usr/local/apache2.
These are the modules installed.
Compiled in modules:
* core.c
* mod_access.c
* mod_auth.c
* mod_include.c
* mod_log_config.c
* mod_env.c
* mod_setenvif.c
* prefork.c
* http_core.c
* mod_mime.c
* mod_status.c
* mod_autoindex.c
* mod_asis.c
* mod_cgi.c
* mod_negotiation.c
* mod_dir.c
* mod_imap.c
* mod_actions.c
* mod_userdir.c
* mod_alias.c
* mod_so.c
Now that the apache is up and running I want to add php support. I added a few lines in httpd.conf:
LoadModule php4_module /usr/libexec/libphp4.so
AddType application/x-httpd-php .php
I copied my php.ini (was there by default) to /usr/local/apache2/lib (not sure why exactly there-read in a doc page)
After all this the following error occurs when I start the apache.
Cannot load /usr/libexec/libphp4.so into server: libmm.so.13: cannot open shared object file: No such file or directory
I suppose I need to add one more module mod_php4.c (again read it in a doc somewhere) but in the apache's documentation there is no such module and anyway I donno how to add a module.
http://httpd.apache.org/docs-2.0/mod/
So I donno what the problem is? What is more I want to run MySQL as well (also installed by default with the OS).
Someone, please help me fix this problem and tell me how to check if everything is running smoothly.
Thanks in advance.
Go to the top of the page
 
+Quote Post
bigpaws
post Jun 27 2004, 03:11 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 12
Joined: 27-June 04
Member No.: 3,243



Trying to configure Apache,MYSQL, and PHP can be a real time consuming mess.

Go to www.apachefriends.org. The site is in German however there is a english translation for this site. This used to be called LAMPP. now it is XAMMP. Much easier then to install these packages individually.

Hope this helps.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 01:51 AM