I told you "Do not include apxs in the path". I was wrong. Just ran it myself like this and it worked:
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
Sorry about that!
I told you "Do not include apxs in the path". I was wrong. Just ran it myself like this and it worked:
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
Sorry about that!
edit due to duplicate post
yeah, i tried that and it worked
perfectly
but, theres somethign at the top of the screen that says
--with-mysql=/path/to
after the config was completed.
so i tried running the ./configure with that added
but i thought it was kept uner /usr/bin/ but i just the get the error
Cannot Find header files under /usr/bin/
unsure what to do, what did you do?
Do you have mysql installed and running (you need the server and client packages installed)?
yeah its installed, and running from what i see, i did
Service Mysql start
"a mysqld process already exists"
then just run configure as ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
If you get no errors at the end of the configure, then your good to go.
now i knever uninstalled the old rpm install of apache and the old rpm install of php, should i worry about those to? or is there something I must do?
-Ideal
Uninstall those rpms.
whast the command for that?
as root, type: rpm -e rpmname
alrighty, ill do it as soon as Make finishes, thanks for the help man, i really apreciate it, ill let you know how it turns out in a few minutes.
-Ideal
well i finished everything and I deinstalled the old apache and the old php, but now i cant service httpd start so now im not sure whats up
okay, everythign is working, except when i use a php file i see the code not the php site, not sure whatsup, i checked everything and it all seems to in order..
-Ideal
Did you add a line to your httpd.conf that reads:
AddType application/x-httpd-php .php
and re-start the webserver after you did? (/usr/local/apache2/bin/apachectl restart)
Yeah, I did a restart and everything, still nada, not sure whatsup?
.
-Ideal
run 'wget --server localhost' That will get your host headers. Does it say anything about PHP in the Server: line?
[root@ideal root]# wget --server localhost
--09:09:36-- http://localhost/
=> `index.html'
Connecting to localhost:80... connected!
HTTP request sent, awaiting response... 200 OK
2 Date: Mon, 14 Oct 2002 16:09:36 GMT
3 Server: Apache/2.0.43 (Unix) PHP/4.2.3
4 Content-Location: index.html.en
5 Vary: negotiate,accept-language,accept-charset
6 TCN: choice
7 Last-Modified: Fri, 04 May 2001 00:01:18 GMT
8 ETag: "6ad2e-5b0-40446f80;6ad44-945-a61467c0"
9 Accept-Ranges: bytes
10 Content-Length: 1456
11 Keep-Alive: timeout=15, max=100
12 Connection: Keep-Alive
13 Content-Type: text/html; charset=ISO-8859-1
14 Content-Language: en
15 Expires: Mon, 14 Oct 2002 16:09:36 GMT
16
0K . 100% @ 1.39 MB/s
09:09:36 (710.94 KB/s) - `index.html' saved [1456/1456]
it says it there, i dont undestand why its only show the code, im putting the .php file in my htdocs folder, thats correct right?
-Ideal
Not sure why, but its working now, what i dont understand is it seems that if there is a cappital letter inside of the htdocs directory, it doesnt allow it, or says it "cannot be found" not sure whatsup with that.
-Ideal
its all up and running now, thanks for the help.