Install Apache,MySQL And PHP
I may sound like a newbie, but I've started my new job and we are running on Windows XP where previously I was using LINUX , and now I want to install Apache,MySQL and PHP, not done this for a while.
Been to php.net but confused as to which one to download, any helpers? Also where to install the other stuff.
View Complete Forum Thread with Replies
Related Forum Messages:
Can I Install Apache/MYSQL Side By Side With IIS?
However I also have a few sites I maintain that are Nix/PHP/MySQL. I would like to install PHP and MySQL on my windows machine. It would be ok if the PHP pages worked in the IIS environment such as http://localhost/index.php However I thinka better solution may be to install apache/php/mysql/phpmyadmin side by side with IIS. Would I be able to run it side by side with my IIS To get to IIS : http://localhost/index.asp To get to Apache: http://localapache/index.php I suppose I would like to use .htaccess locally to test mod_rewrites.
View Replies !
PHP Install With Apache
I tried to install PHP 4.0.0 and then PHP-3.0.16 but failed both the times. I am working on i386/ Caldera Linux 2.2.14 My apache server (1.3.11) is working alright. I tried both the rpm and gz install packages. Here's what I did: # gunzip -c php-4.0.x.tar.gz | tar xf - # cd php-4.0.x #./configure --with-mysql-with-xml--with-apache=../apache-1.3.11--enable-track-vars how to install php4.0 or 3.0 to work with Apache and MySql?
View Replies !
Cannot Install Apache
I downloaded and installed apache_2.0.54-win32-x86-no_ssl.msi By running binApache -k install I receive th following message: <OS 10048>Normalerweise darf jede Socketadresse <Protokoll, Netzwerkadresse oder Anschluss> nur jeweils einmal verwendet werden. : make_sock could not bind to no listening sockets available, shutting down Unable to open logs
View Replies !
Install Apache
I have Apache HTTP Server 2.0.53 and PHP 4.3.10 programs and I want to install it on my computer so I can view .php pages offline (I don't have ADSL)? I tried myself but it doesn't work. Manual is complicated.
View Replies !
Apache Install
im using windows xp and im tryng to install apache/php/mysql when i installed apache i got this error: no installed service "apache2" What does this mean? i tried to look at the service but i dont see anything apache2?? This occured when i tried to start the apache. MY installation was very sucessfull and also what does this error means cannot make socket on 0.0.0.0 And forgive me for being so dumb in this apache /php after i installed the apache what are the things that i need to configure in httpd.conf to work in php?
View Replies !
Install Problem Apache Php
I have been struggling in my spare time configuring apache and php. I am running windows xp pro O/S. Here is the problem, if i install apache choosing the option "For all users on port 80 as a service, recommended", all works fine i can create php files and run them in my browsers but i have to be online, it won't work offline (I understand port 80 is the web, can i change it and how if yes?). Now if i install apache with the second option "only for the current user on port 8080, when started manually." in order to be doing what i really want which is to test my code offline on my PC, nothing will work.I get the console and don't know what to do with it.I am supposed to start apache manually but how?
View Replies !
Apache 2.2.3 PHP 4.4.5 Install Fails
I have Apache 2.2.3 installed and running on WinXP Pro SP2. I installed PHP 4.4.5 and added the following lines in httpd.conf PHPIniDir C:/PHP445/ LoadModule php4_module C:/PHP445/php4apache2.dll When I restarted Apache, i got this error: The Apache service reported the following error: Quote:
View Replies !
Apache Php Cgi Install Problem
I am trying to install PHP 5.0.4 on Apache 2.0.54 on WinXP Pro SP2 as a cgi binary. Apache2 directory is c:/Apache2 htdocs is c:/Apache2/htdocs php is installed in c:/php This contains php.ini, php-cgi.exe and php5ts.dll and other files required for the module method of php installation are also present, but i think additional files being present should not cause any problem Directory containing php scripts is C:/Apache2/htdocs/php My httpd.conf file has #---------------------------------------------------------- ScriptAlias /php/ "C:/Apache2/htdocs/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "C:/php/php-cgi.exe" #ScriptAliasMatch ^/php(.*) C:/Apache2/htdocs/php$1 #---------------------------------------------------------- I get the error [Wed Feb 22 15:01:18 2006] [error] [client 127.0.0.1] C:/Apache2/htdocs/php/index.php is not executable; ensure interpreted scripts have "#!" first line [Wed Feb 22 15:01:18 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Apache2/htdocs/php/index.php in the Apache error log. What could be the error? I have no experience in CGI - I only know it stands for Common Gateway Interface - is there something needed to be read up first? I assume when run in CGI mode, whatever you put in your "cgi" diectory (here it is c:/Apache2/htdocs/php) it will be treated as a script. Because if I try http://localhost/php/file.htm it still gives the same error. Also, if I put #! on the first line I get [Wed Feb 22 15:33:45 2006] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't create child process: 720002: index.php [Wed Feb 22 15:33:45 2006] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn't spawn child process: C:/Apache2/htdocs/php/index.php or [Wed Feb 22 15:36:18 2006] [error] [client 127.0.0.1] (OS 193)%1 is not a valid Win32 application. : couldn't create child process: 720193: index.php [Wed Feb 22 15:36:18 2006] [error] [client 127.0.0.1] (OS 193)%1 is not a valid Win32 application. : couldn't spawn child process: C:/Apache2/htdocs/php/index.php Any suggested readings? I've googled the web and Google Groups but not able to get anything newer than what i know so far.
View Replies !
PHP Install On APACHE A Failure
I've been trying all day to configure PHP with Apache and it's been a nightmare I've tried every suggestion that is out there, including PHP's official manuals, and it's been nothing, but a failure. Code:
View Replies !
Install PHP5, Apache 2.2 And IIS
The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up. I have checked the error log and I get the following; [Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.
View Replies !
Apache Install Error
Just downloaded apache 2.o and it wont run. The error I keep gettin is "DocumentRoot not a directory" I downloaded it as was told so not sure wat the problem is. It's probably something really easy.
View Replies !
Win98 Apache And Php Install Not Wokring.
I have installed the latest Apache and PHP binaries (the PHP CGI executable release - not the ISAPI). I then configured the httpd.conf sciprt using the install.txt file from the PHP install and 2 reference books as guides. This got me to the point where I BELIEVE the PHP interpretor is kicking in for .php scripts. But when I try and browse the following page : <? php_info() ?> I get the following error : Fatal error: Call to undefined function: php_info() in e:/apache/htdocs/phptest.php on line 1 Code:
View Replies !
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled. I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.
View Replies !
Install Prob With Php/cgi/unix/apache... Any Help Is Appreciated...
I'm running php as a cgi on unix server with apache. I modified my httpd.conf file to have AddType application/x-httpd-php .php Action application/x-httpd-php /cgi-bin/php ScriptAlias /cgi-bin/ "/disk2/opt/eai/visnetwork/cgi-bin/ in cgi-bin I have a link called php which points to the php executable which resides in /usr/freeware/bin/. when I point to any php file I get this message: Warning: Unexpected character in input: '' (ASCII=16) state=1 in /usr/freeware/bin/php on line 217 Warning: Unexpected character in input: '' (ASCII=8) state=1 in /usr/freeware/bin/php on line 217 Warning: Unexpected character in input: '' (ASCII=20) state=1 in /usr/freeware/bin/php on line 217 Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217 Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217 Warning: Unexpected character in input: ' in /usr/freeware/bin/php on line 217 Parse error: parse error in /usr/freeware/bin/php on line 217 I think what is happening is that php is loading itself into the executable instead of the file that I'm linking to. I have verified this by running php on itself from the command line and I get the exact same error. I have a feeling I am overlooking some simple little detail. Can anyone help me out? I've been searching for days now and got a hot tip about this website.
View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2. First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:
View Replies !
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error: "Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id" Does anyone know what is causing this error,or what I can do to correct it?
View Replies !
Can't Install PHP - Keep Getting "Invalid Directory" Error Regarding The Path To Apache Httpd.h
I've installed Apache 1.3.36 on my Redhat EL 3 machine. Now I'm trying to install PHP 5.1.4. I can not get the ./configure command to work. I keep getting this error: configure: error: Invalid Apache directory - unable to find httpd.h under /usr/local/apache/include So then I run this command: find / -name httpd.h which should find every file on my machine with the name "httpd.h". These are the results I get: /usr/local/apache/include/httpd.h /home/shelley/apache_1.3.36/src/include/httpd.h So I've rerun the ./configure command, using this first: --with-apache=/usr/local/apche/include and since that didn't work: --with-apache=/home/shelley/apache_1.3.36/src/include/httpd.h but I get the "Invalid directory" error with both addresses.
View Replies !
--with-mysql ? Php-4.4.2 With Mysql Install In Special Directory
I'm trying to link php-4.4.2 with mysql install in special directory, like /usr/newsystem/mysql, but whatever options I try, php always gets linked to version in /usr/local/lib. I've tried several options: --with-mysql=/usr/newsystem/mysql --with-mysql-dir=/usr/newsystem/mysql --with-mysql-lib=/usr/newsystem/mysql --with-mysql-lib-dir=/usr/newsystem/mysql ....but none of them work, CLI is always build against /usr/local/lib/ libraries.
View Replies !
How To Install Mysql?
I have downloaded Apache server and php.I want to know how to install mysql.I believe mysql gets downloaded with php,but I am not able to insatll it? I also want to konw how insert into table works in php with MS Access as database.I have a form which as a link to database through a second php scrpit. I tried to inert a row into my table,but am not successful.the code is Code:
View Replies !
From Mysql To Install
i created a php application. it uses mySql database. i want to create an install.php for users install my database easily. i don't know database creating functions. for example (CREATE TABLE, INSERT INTO) does PhpMyAdmin give me this code? or any program. or must i learn it and type with my hand?
View Replies !
Install Of MySQL 5.0.27
I was running MySQL 4 quite happily then decided to uninstall it and install MySQL 5. This is recommeneded apparently if you want to use new features such as views. Everytime I do a query with the MySQL GUI tools, the query runs fine but I also get the following error. Anyone know what the problem is: ERROR 1146: Table 'mysql.1' doesn't exist I get this with the simplest of queries such as Select * from user (accessing the mysql database)
View Replies !
Cant Install Mysql-4.0.13
currently im working on a php project. i used to install php, mysql on my Microsoft Window XP computer before. however now i cant install mysql-4-0.13. Once i click on the setup file, window will pop up a msg 'C:WINDOWSSYSTEM32AUTOEXEC.NT. The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.' how should i go about debugging this error.
View Replies !
Install Mysql 4.1.7
I then installed mySQL using the package installation, I have setup the tables that are required to run my site. However i now get this error message: Quote: Warning: mysql_connect(): Client does not support authentication protocol requested by server; consider upgrading MySQL client in c:Inetpubwwwrootpartscataloguev3incconnect.php.inc on line 8.
View Replies !
Php And Mysql Install Problem
I tried installing with the mysql switch and get a message saying "note mysql is not bundled with client library anymore..." I think the mysql client RPM is installed, although I should check it because I got a warning ("nokey" or suchlike, going from memory because my linux is not online) when I used "rpm -i" command on the mysql client RPM file. Other than the warning the client RPM appears to be installed but still getting message in php. What is going wrong?
View Replies !
Install Problem With Php And Mysql
I have most of it back up and running, but am having problems with mysql. I grabbed the most current source of mysql and compiled and installed it. Tried then compiling PHP and PHP configure was complaining about not being able to find the mysql header files even though I verified that they were where I told PHP were they were. So I got fed up and did apt-get install mysql-server. This installed mysql just fine. Then there was a reboot. Code:
View Replies !
Mysql Install Problems
I'm going to install mysql all over again (I think I mucked it up). I'm trying to install it and I keep getting an error (I think tthis is because a mysql folder exists in c:, so I deleted it (or am trying). For some reason I cant delete some of the files (3). Dol I need to get rid of the mysql directory to install mysql all over again? Do you know why Im getting an error?
View Replies !
MySQL Install File
I have an installer file which works up to a point. It installs everything into the database except for one thing. It doesn`t insert the $name[name] variables into the db, it just skips them and I`m baffled why its doing that. This is a sample query: Code: mysql_query("INSERT INTO t_backup (id, name, plate, category, description) VALUES (Æ®', 'error_subject', '$settings[error_sub]', ཈', '')");
View Replies !
5, Apache2, MySQL 5 Install
Could someone point me to a good doc on a Windows PHP5, Apache2, MySQL 5 configuration. I have done this under linux but this is my first install on windows. I am used to compiling from source so I am unsure what to do in windows when you are just using the windows installer. How do I get MySQL to recognize PHP? I have already done the following (I have MySQL installed successfully, Apache installed successfully, and PHP5 installed and working with Apache): Code:
View Replies !
MySQL Configurating Install
i looking to get AMP installed and running smoothly in order to follow along with the exercises. I installed XAMPP 1.6 and I'm using Windows XP and Firefox. When I try to make the changes to customize Apache (httpd.conf) I do not see the lines of code the book reads: AddType application/x-tar .tgz AddType image/x-icon .ico However I do see this line of code after the text: AddType application/x-gzip .tgz When I do all the configuring here then try to run Apache I can not connect to localhost, apache doesn't run. MySQL is another problem. I cant seem to test the install in DOS whenever I open DOS I see whats in the attached and cant do c:xamppxamppmysqlinmysql --install Is that even necessary with XAMPP installed? It seems so because I will need see what databases are setup...
View Replies !
MySQL Install Error
I installed PHP 5.1.4, MySQL 5, and Apache 2.2.3 on my Win XP PC. Apache and PHP seem to work fine together. I tried installing a PHP script and got an error Quote: PHP 5.1.4 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module. How do I fix this error? I installed PHP using the ZIP version.
View Replies !
Removing Old MySQL Install
I recently installed and configured Apache 2.0.49, Mysql 4.0.18, PHP 4.3.5, and ActivePerl 5.8.3. Prior to this I was running a preconfigured (firepages.com.au's thing called PHPDev) bundle consisting of Apache 1.3.27, PHP 4.2.1, ActivePerl 5.6.x, and MySQL 3.23.49. I completely removed the old install, uninstalling it and deleting all the files etc. Everything in the new install works great. My problem is, when I look in the phpinfo.php file, it still shows MySQL 3.23.49 as my build - not the new 4.0.18 I installed. It is on a WinXP Pro SP1a box..
View Replies !
Trying To Install MySQL For The First Time
Have been using PHP 5 for some time, and tried to install MySQL 5 today. Actually I think I did install it successfully, but how the heck to I run it? The instructions I found online say to open the command window and run c:mysqlinmysqld-nt.exe --console . But my installation named the path differently, and I can't get to it from the command window. In fact, I can't even SEE it with a dir *. command, although it does show up in Windows explorer. What do I do?
View Replies !
Need A Quik Fix For Mysql Install Script
I am trying to create an install script to create tables and insert into them. And am having a little dificulty getting it to work. I utilized this script from someplace else and it worked before I changed the tables to my own and the layout is the same. Not sure whats wrong....
View Replies !
How 2 Install MySQL And PHP3 On Linux 6.1
im a php + SQL newbie and i would like to know if anyone knows of any site that has good instructions on how to install/configure MySQL and PHP3 on a linux 6.1 box running Apache...my backgroung is windowsNT and 98 so please note the "good" on top im trying to make the transaction from windows to linux.
View Replies !
PHP/MySQL/Apache
I got PHP MySQL and Apache all running on my local development machine, and have now written some useful code that runs fine locally. The problem is that now i have to make it work on the companies server, or my supervisor will look a bit dumb, as will I. What i need help with is what to do to make php which is on the same server, talk to MySQL and fetch/write the data it needs to. Could anyone give me idiot-proof help with making this work? From looking at other posts and some literature i have made a guess that its to do with the part where i go: <? mysql_connect ('localhost', 'user', 'password'); mysql_select_db (dbname); ?> But i'm not sure a: what to change the localhost to when its on the server. and b: if i need to make changes to any other files, especially server files.
View Replies !
Php/apache/mysql On RH 7.2
I am trying to install php/apache/mysql on RedHat 7.2 I know that the default install does not work properly with MySQL If you choose to install apache, mysql, and php with the default install everything works great. Except. When I go to check out the php setup using phpinfo() I see the dreaded --without-myql at the end of the configure section of the phpinfo page. I've tried to install from the source files from a few different sites that give you instructions on installing from source. but they seem to be all for older operating systems. Is there anybody here that has got php and mysql working in RedHat 7.2. Are there specific instructions for RH 7.2 somewhere.
View Replies !
Apache/mySQL/PHP On XP
I am looking for some sort of easy-to-install binary package to get an environment ready for PHP development on XP. I am starting the development of a site, starting with learning PHP and design etc. The final site will run on some sort Linux/*nix, but for the purpose of the first development phase I will have to use Windows. I know the FoxServ package, but it seems to be very slowly updated. I saw other things (Google) but they seem to be a one-man-show, not really promising if I need to keep an up to date environment for a year or more. I am looking for a precompiled environment with installation, because I do not want to get into too many details of compilation/configuration at the beginning. I will have enough work with learning PHP and designing the site. :-) Do you guys have any suggestions for such an environment?
View Replies !
Apache 2.0, Php 5 And Mysql + Win Xp
I am trying to run and configure Apache 2.0, php 5 and mysql on win xp professional - this is the first time I have tried to install and configure all three. I am having difficulty trying to configure them on my computer. Can somebody help me - this is what I have done so far. Installed Apache 2.0, it worked perfectly ( I checked with my browser - http://localhost) till the point where I started to point where I wanted to store my html files. I have named the folder html_files and have changed the DocumentRoot "C:/html_files" and <Directory "C:/html_files/htdocs"> on the configuration file. And now it does not work (http://localhost does not work). I get an error message saying "You don't have permission to access / on the server". What am I doing wrong? Also I have installed and configured php 5, renamed Rename e:phpphp.ini-dist it to php.ini and enterd the following on the apache configuration file LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "c:/php"
View Replies !
Mysql/php/apache
I run a high traffic website, one of the issues we have hit is we run out of available ports due to the way apache/php/mysql work together when apache and mysql are on diffrent servers. It seems when apache closes the connection to mysql it sits in TIME_WAIT for quite some time. Now when a few 1000 people are on the site that eats up all the ports. Now as a temp fix I upped the amount of ports available for this. However it will obviously happen again. Once all the ports are gone the machine load spirals out of control and it locks up even at the console. One thing that been suggested is to use pconnect, is this the best soloution or are others avaiable. We already have a load balencer and two servers, I don't want to just throw servers when theres cpu and ram resouces spare. I'm sorry if this isn't quite the right section, as it covers LAMP in general I guess. It's RHEL 4 with PHP 5, eaccelerator, stock apache and 64 bit stock mysql.
View Replies !
Apache 2.0 + Php 5.2 +mysql 5
i'm having problems the website laods and all but it wont comunecate whit the database it keeps saying i nead to update my sql version evendo i have the curent version. this is in my httpd.conf PHPIniDir "D:/WebServer/PHP/" LoadModule php5_module "D:/WebServer/PHP/php5apache2_2.dll" AddHandler application/x-httpd-php .php my php.ini has extension=php_mysql.dll enabled.
View Replies !
How To Set Up Apache/mysql/php
I followed the steps in a book i bought on how to set up apache/mysql/php. I went through each step however i am running into a problem. When i try to view php files through my localhost i get a save/open dialog box. if i choose save it simply get saved to my desktop and if i choose open, then it opens in dreamweaver.
View Replies !
Apache 2.0.52, MySQL 5.0.0
I'm having a little trouble getting MySQL to load with Apache. Apache and PHP are working OK, but MySQL isn't loading. I know php.ini is loading because the following lines are in php.ini: extension_dir = "C:Program FilesPHP" extension=php_mysql.dll and the error I get when Apache starts up is: PHP Startup: Unable to load dynamic load library 'C:Program FilesPHPphp_mysql.dll' - The specified procedure could not be found. php_mysql.dll is definitely there. This same setup ( MySQL 5.0.0, PHP 5.01) works unchanged with the Abyss Web Server, so I know MySQL and PHP are set up OK.
View Replies !
PHP, Apache, MySQL, Dreamweaver MX
How to get it all to work!!! I've tried looking at docs, and notepad files, and text and manuals..I'm lost. I'm not sure how to set them all up to run with each other, and get DMX to recognize the apache server, and what to config, and edit and all that mess.
View Replies !
|