MySQL, PHP, And Apache Configuration.
Hi, I was just wondering if anyone could help me to configure my home
machine to run as a test server for PHP using MySQL and Apache. I am
running WinXP pro and I would really appreciate some help. (I'm trying
to learn PHP before paying the moola for a host, only to make a fool
of myself while trying to learn PHP. I don't see any logic in paying
for time to learn, when I could do it for free at home and then pay
for a host...) I would be very thankful if you would imagine that I
had just downloaded the files from their appropriate sites, and
haven't even opened them yet. A walkthrough of the installation etc...
The main part I've been having trouble with is editing the httpd.conf
file for Apache;
View Complete Forum Thread with Replies
Related Forum Messages:
- PHP/Apache Configuration
- HP And/or Apache Configuration
- Apache Configuration
- Apache Configuration Tutorial
- Need One Urgent Help With Configuration Of Php With Apache!
- Apache/PHP Sendmail Configuration
- Apache/ Configuration Problems
- 5.2.1 & Apache 2.2.4 Configuration Issue
- Php Configuration For Mssql On Linux With Apache
- Apache & PHP Installation/configuration Problem
- Making Apache To 'reload' Its Configuration
- OpenLDAP, Apache 1.3.31 And PHP 4.4.2 Configuration Problem
- Apache Server Configuration Problem
- Change In The Apache Configuration File.
- Php4 With Apache On Macosx: Configuration Question
- Apache Installation Path With Semicolon - Issue In PHP Configuration In Windows 2k3 Server
- Configuration File MySQL.
- How To Retrieve Current Mysql Configuration?
- Cannot Load Mysql Extension. Please Check Your Configuration. - Documentation
- PHP/MySQL/Apache
- Php/apache/mysql On RH 7.2
- Apache/mySQL/PHP On XP
- Apache 2.0, Php 5 And Mysql + Win Xp
- Mysql/php/apache
- Apache 2.0 + Php 5.2 +mysql 5
- How To Set Up Apache/mysql/php
- MySQL With Apache 2.2.4
- Apache 2.0.52, MySQL 5.0.0
- Install Apache,MySQL And PHP
- PHP, Apache, MySQL, Dreamweaver MX
- Apache And Mysql As Services
- Can't Get Php And Mysql To Cooperate On Apache
- Compliling Apache With Php And MYSQL
- Installing Apache+mysql+php
- Apache 1.3.14, PHP 4.0, MYSQL And Win98
- PHP/MySQL/Apache Uninstall
- Using Sessions And MySQL In Apache
- Question About Apache+Php+MySql
- Installing Php, Mysql, Apache
- PHP/MySQL/Apache Documentation.
- Install Apache PHP And MySQL
- Php4.3.9 - Apache 2.0.55-mysql 4.0.16
- Apache MySQL Tutorial
- Configure Apache-MySQL-PHP
- Apache, MySql And PHP Downloads
- Windows Apache Mysql
- MYSQL, Apache And SNMP
- Apache/mysql/PHP Installation
- Apache Mysql Php5
- Php,PhPBB,Apache,MySQL,Linux
- PHP5 With MySQL 4.1 On Apache 2 On Win98
- I Am Trying To Design A 'form?' Using Php, Mysql And Apache
PHP/Apache Configuration
I'm still can't get Apache to restart after changing the httpd config file. I've upgraded my installation to 5.2. Apache 2.2.3 runs fine without any PHP additions. 1) I added my PHP directory, C:/PHP5, to my PATH 2) I copied php.ini-recommended to my C:/windows directory and renamed it php.ini 3) I made the following changes to PHP.ini doc_root = "c:/inetpub/wwwroot" extension_dir = "c:/php5/ext" 4) I made the following changes to Httpd.conf After the last entry in the LoadModule section: LoadModule php5_module "c:/php5/php5apache.dll" AddModule mod_php5.c If I comment out the above two statemens, Apache will start. In the <IfModule mime_moduleSection, I added AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" And that's it. When I restart Apache, I get an error dialog with the message: The requested operation has failed. What have I missed or done wrong?
View Replies !
Apache Configuration
I am absolutely new to PHP, highly motivated, but already stuck with a problem in the adjustments in the configuration file. I follow the plan laid out in the new Blog Design Solutions book, pp. 33-8 and have downloaded the newest version of both PHP and Apache - 2.2. Here's the problem: Apache cannot load the php5apache2.dll file into the server. In the conf file, line 116, it states; LoadModule php5_module C:/php5/php5apache2.dll and yes, php5 is placed at C:/.
View Replies !
Apache Configuration Tutorial
I have previously installed apache mysql and php. I need to do this again but all the tutorials do not cover the configuration of apache. Can anyone tell me where the old tutorial may happen to be?
View Replies !
Need One Urgent Help With Configuration Of Php With Apache!
I have successfully installed Apache “apache_2.0.54-win32-x86-no_ssl” and copied “php-5.1.0RC1-Win32” to c: with php name. Now made environment variable with “C:php” and copied php.ini recommended file in c:windows with php.ini name. Till now every thing is working fine means server is running but whenever I add module in https file under conf directory then that got unavailable. I don’t know why server is unable to load php and specified dll. Here I have Win XP and firewalled enabled.
View Replies !
Apache/PHP Sendmail Configuration
I have a standalone machine running Mandrake 10 with apache server and PHP installed. The PHP mail() function is working but very slowly. It takes about 10-20 seconds to send a single email. Can anyone advise me on what could be causing this? I have tried using mail() on other apache setups and the response time has been much faster. Below is the relevant section from my php.ini: php.ini ======= [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = me@localhost.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path =
View Replies !
Apache/ Configuration Problems
Everytime I put the link to my file into my browser, this pops up. Not Found The requested URL /hello.php was not found on this server. What does this mean, and how do I fix it?
View Replies !
Apache & PHP Installation/configuration Problem
I am trying to set up the Apache Server for PHP (in Windows XP), but when I ad the line: LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll (in httpd.conf), then the Apache Server refuces to start (I get "The requested operation has failed" msg). Without that line the Apache Server starts with no problems. The directory path is correct.
View Replies !
Making Apache To 'reload' Its Configuration
I am having problems making Apache reload itself. I have tried a PHP exec calling a bash shell script that does a KILL -HUP on Apache to attempt to make it reload its configuration. The signal in the shell script works fine from root but will not work when called from PHP. Is there anyway to make Apache reload itself from PHP without having to doing a signal ? I am trying to do a configuration reload without requiring root.
View Replies !
OpenLDAP, Apache 1.3.31 And PHP 4.4.2 Configuration Problem
PHP is working fine with APACHE 1.3.31 on windows 2000 professional..now i tried to install LDAP support performed following steps: 1. Uncomment following entries in php.ini extension = php_ldap.dll extension = php_gettext.dll 2. Copy php_ldap.dll to WINNTsystem32 3. Copy files libeay32.dll and ssleay.dll to SYSTEM folder 4. Restart APACHE. now when i tried to execute sample LDAP script it gives me following error: Fatal error: Call to undefined function: ldap_connect() in c:program filesapache groupapachehtdocsldapchek.php on line 7 I guess LDAP support is not installed yet. so can anyone help me out?
View Replies !
Apache Server Configuration Problem
I am running the php applications on my systems apache server I will access http://localhost/application/pagename.php Assume that my system name is testuser I am not able to access the same from other system in the intranet or from my browser by using the following url http://testuser/application/pagename.php What configuration I have to made in the apache server
View Replies !
Change In The Apache Configuration File.
I've decided to quit doing my web site in ASP and go to PHP. So I downloaded Apache and all that. Apparently it is all working correctly. I could use a tutorial to help get me familiar with the workings of the server for testing scripts. Also, is there anything I need to change in the apache configuration file.
View Replies !
Php4 With Apache On Macosx: Configuration Question
I have MacOS X 10.3 (not the server edition), which includes apache and php4. But php hasn't been compiled --with-gd, and I need it, so I downloaded the source (4.3.4) and configured it with options '--with-zlib-dir=/usr/local' '--with-libjpeg=/sw' '--with-libtiff=/sw' '--with-libpng' '--with-png-dir=/sw' '--with-gd' '--with-mysql=/usr/local/mysql' '--with-xml' '--with-dom=/sw' '--enable-cli'. After make && make install, I've got my new php in /usr/local/bin, which I can use from the CLI. But how do I get apache to use this version of php instead of the one bundled with MacOS? I guess (though I don't know anything much about httpd.conf) that I should put something like LoadModule php4_module /path/to/new/libphp4.so in httpd.conf but I can't find any libphp4.so anywhere (apart from the old one in /usr/libexec).
View Replies !
How To Retrieve Current Mysql Configuration?
I need to recompile mysql to add ssl support and don't remember all of the options I used when I compiled the beast the first time. Is there a query or php/perl command that will show me this info? OS: Fedora Core 2 MySQL version: 4.1.12
View Replies !
Cannot Load Mysql Extension. Please Check Your Configuration. - Documentation
I am Polish/Canadian I was born in Poland and I live in Canada I get this message error Cannot load mysql extension. Please check your PHP configuration. - Documentation I did the PHPINiDiR Directive in httpd.conf and as well I tried already the enviromental tables right clicking the my computer. I have the extensions loaded as well in php.ini, and yes there is the fullpath in ext in php.ini I have php 5.20 snapshot The problem is with phpMyAdmin.
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 !
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 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 !
Apache And Mysql As Services
Just for those that don't know, An easy way to start and stop windows services such as apache and mysql if you don't want them to automatically run would be to enter the followin a batch file and then setting up a shortcut on the desk top for it. @echo off net start Apache2 if ERRORLEVEL 1 ( net stop MySQL net stop Apache2 ) ELSE ( net start MySQL ) This will toggle apache on and off and make sure mysql is running along with it. If Apache2 is running then it will stop it. It will also sync MySQL to the state of Apache2. Just a simple few lines of code that might make it easier than manually starting and stoping through admin services.
View Replies !
Installing Apache+mysql+php
redhat 7.1 but all the three apps(apache,mysql,php) are tar.gz format. When I configure php with the --with-pspell=/usr/local/pspell option, I got the error "pspell/pspell.h no such file or directory". pspell.h is in the directory /usr/local/pspell/include/. If I omitted that option, installation was ok. Can somebody tell me why? and how to fix it?
View Replies !
Apache 1.3.14, PHP 4.0, MYSQL And Win98
I have installed and working Apache and php 4.0. I would like to get mysql working too. I ran the phpinfo file using PHP 4.0 and I did not get the MYSQL extensions in the resulting table. I subsequently - after changing my http.conf file - ran the phpinfo file using PHP 3.0.16 and got the MYSQL extension showing up in the table. Why isn't the mysql extensions showing up under PHP 4.0?
View Replies !
PHP/MySQL/Apache Uninstall
I have tried multiple times to install a secure MySQL/PHP/Apache application on Red Hat 7.2 but I keep on running into issues. I want to give it another try and I am wondering how to uninstall past installations of apache/php/mysql. My targets have always been /usr/local/[APP]. Do I just need to remove the /usr/local/[APP] directories that were created during the installation.
View Replies !
Using Sessions And MySQL In Apache
I have installed Apache with mySQL and PHP on my computer at home. When I upload my mySQL db to my internet server, I need a password and username to access it, but how can I make my db on my computer get protected by the same password and username? When I use a script with sessions and db conectivity on my computer I get this message I have tried the script on my webserver on the net, so I know it works...) Any Ideas? Warning: MySQL Connection Failed: Access denied for user: 'domain@localhost' (Using password: YES) in c:/apache/apache/htdocs/hardware_decks_show.php on line 4 Couldn't connect to server. Warning: open(/tmpsess_cd2450ed9f7b3de8b070e24ca7a6b690, O_RDWR) failed: m (2) in c:/apache/apache/htdocs/shop/type.php on line 4
View Replies !
Question About Apache+Php+MySql
I setup a LAMP enviroment on my laptop, and did related config on my apache and linux as well. But each time I visit my http://localhost, I was only been brought to index.html instead of index.php. Only when I tpye http://localhost/index.php, I can open the index.php page. Any one know how to config this?
View Replies !
PHP/MySQL/Apache Documentation.
The PHP, MySQL and Apache Online Documentation is some of the best online docs I have seen for products and such in a very long time. DEC had probably the best, because they as well as these docs have real-life examples of how to use a particular verb or function. So, if a middle-aged out-of-work systems/database/web administrator can look up most of the questions and have an answer within minutes, well... anyway, just to reiterate - the docs are very well constructed, mapped, indexed and most of all - searchable. http://www.php.net/manual/ http://dev.mysql.com/doc/mysql/en/index.html http://httpd.apache.org/docs-project/ (and select your version)
View Replies !
Php4.3.9 - Apache 2.0.55-mysql 4.0.16
Can php 4.3.9 work with apache 2.0.55 and mysql 4.0.16? I installed mysql 4.0.16 rpm first on Red Hat 9. Then, I downloaded apache 2.0.55 source code and installed it on Red Hat 9 as: ../configure --prefix=/usr/local/apache --enable-so No problem at all.I can start apache. Then I downloaded php 4.3.9 source code and installed as: ../configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql Unfortunately, the make gives me this error ..... ext/ctype/ctype.lo: file not recoganized, file truncated collect2: ld returned 1 exit status make *** [libphp4.la] Error 1
View Replies !
Apache MySQL Tutorial
Does anyone know a really good step by step tutorial on how to install the above 3 on windows. I am having real trouble getting it to work.
View Replies !
Configure Apache-MySQL-PHP
Installation, and basic configuration of Apache-MySQL-PHP is definitely a trying time for us newbies but these sites will get you through it with ease. I prefer the first one. They differ slightly but are very informative.
View Replies !
Apache, MySql And PHP Downloads
I have just bought PHP and MySQL For Dynamic Websites by Larry Ullman, really getting into it. i own a website but i don't always have access to the internet and when i am only adjusting one line of code it seems a bit of a hassle. what am i meant to be downloading from the PHP, MySql and Apache website, are there packages with those three and only those three built in and set up.
View Replies !
Windows Apache Mysql
I have to extract 3 tables out of a .db (previously bzip2'ed). I am on a windows machine with apache php and mysql. How can I import / create a database on my pc out of the .db file i have. Can I import / create through mysql query browser?Or how should I do this?
View Replies !
MYSQL, Apache And SNMP
Ive currently got MYSQL, PHP and Apache Web server set up on a Windows XP machine and running fine. But im currently trying to write some php scripts to access SNMP information from a router on my network (Cisco 1600), so i need to add some SNMP support to this. Anyone know how i go about this, every example ive come accross so far is for a Linux Machine.
View Replies !
Apache/mysql/PHP Installation
So i installed xampp package, and that works if i do not touch anything. If i change doc_root in Apache configuration file, localhost points to the location and html files execute normally but php doesnt. Can anyone tell me what else must i setup except Apache conf file so i can execute PHP files in directory i create somwhere on the disk? How can i change the default directory in which php scripts are executed?
View Replies !
Apache Mysql Php5
I've managed to install, config, and make operable an Apache server, mysql, php5, ZendOptimizer, and phpMyAdmin on my WinXp comp. The problem is that when I install a script such as a cms or topsite they fail to run. I want to be able to run and test scripts on localhost before uploading to www.server I've installed such scripts on *nix based web servers without problem. I researched and found that chmod should not be an issue on windows so all the files/folders should have read/write access. I,m completly stumped. These scripts that I've attempted to run on my test server go through thier entire install process creating tables and such untill complete. I point to the folder/index.php and nothing.
View Replies !
Php,PhPBB,Apache,MySQL,Linux
The problem is that i must run a BulletinBoard like Helpdesk program. Somebody else made this program. but in the vacation the shutted down the linux server. Now the Database doesn't work anymore. The error he gives is: phpBB : Critical Error Could not connect to the database I installed al programs again (Apache,Php,MySQL). And then i put back the backup from the database/phpBB program. I already asked some people and they say it is maybe the link between the database and the MySQL.
View Replies !
PHP5 With MySQL 4.1 On Apache 2 On Win98
I am in the process of learning php. I am particularly interested in its uses with MySQL. I have Apache 2 and PHP5 both installed and working fine. I pasted a MySQLi example for opening and connecting to a MySQL DB into "hello.php" <?php $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } printf("Host information: %s ", $mysqli->host_info); /* close connection */ $mysqli->close(); ?> For some reason when I get: Fatal error: Class 'mysqli' not found in D:Apache groupApache2htdocshello.php on line 7 I installed PHP in "d:php" and added it to my path in my autoexec.bat. in php.ini: .... extension_dir = "d:phpext" .... extension=php_mysqli.dll I read all the posts at the bottom of the pages on PHP.net website where someone says "I had a problem and I got...yada...yada and did everything each of those posts said you had to do and it still won't work. The only thing left is how PHP needs compiled with a "--with" statement or something like that but I'm using the windows binary so that shouldn't be a problem... Is there some other problem it could be besides a problem with finding a dll or ini?
View Replies !
I Am Trying To Design A 'form?' Using Php, Mysql And Apache
I am trying to design a 'form?' using php, mysql and apache that does the following. 1. enter data using forms 2. do lookup using form that will display council persons or committees.. user will be able to select one and the system will display either the council people on committee or the committees that the council person is on. There will be more but right now I am working on the lookup portion. Would I use php to do sql select from either database and then 'somehow' put that into an html/xhtml select function? If that is the direction how do I take that select function to get one entry back to the database? etc?
View Replies !
|