easyphp is loaded upon windows xp loading up, the problem is apache doesnt automatically start, it tries but goes back on the red traffic light thing, then i have to click the apache button and then start and it starts no problems. Anyone know what i could do to get apache starting automatically like telling it to wait for maybe 30 seconds then trying to start ?
As soon as I connect, I get an Error Message (and PHP stops): Apache HTTP server has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.
Anyone have experience with Easyphp? I just installed it on my local Windows machine; was wondering if other users have any comments on the package as a local development tool. So far it looks good; any non-obvious cons or things I should be careful with when using easyphp?
I'm one of the new student in the web development.I have a problem here.I want to develop a website by using a Macromedia Dreamweaver 8.But, I don't know how to connect the registration form that have in the dreamweaver to the database.I am using EasyPHP software for database.
I have easyphp installed on my computer and now, when I've got the php basics and quite fluent in html & css, I would like to get into MySQL to build some simple login systems and so on. Would you suggest me some tutorial or book of MySQL?
On my remote server I'm using the line AddType application/x-httpd-php .php .htm .html to parse the php in files with htm/html extensions How can I replicate this behaviour on my local machine running EasyPHP. I have tried adding the same line to Apache/conf/httpd.conf and restarting the server, but the files are displayed as html files, without the php code running. Various googles/php docs/stack/easyphp doc searches have failed to help.
I've installed EasyPHP, copy into "www" folder my site, but when i try to open it there is server error:The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster.Log from Apache log file:.htaccess: Invalid command 'SecFilterEngine', perhaps misspelled or defined by a module not included in the server configuration
i'm using pHP 5.2.1 after much effort i've managed to get it to work in IIS and it can pull data out of mysql database that was installed with xampp. now the xampp has a php 4 in there - using that for other java/apache projects - cant remove it.
thing is - when i start up my machine or i restart the IIS service, i'm getting a whole bunch of PHP Startup error message, mostly to do with not being able to load dynamic libraries. I've configure the php.ini file in terms of the ext etc, set up my environment variables etc.
I decided to give the latest PHP5 a try since it's including some updates I really need (PDO_SqLite, Soap, etc yayy) and after having to upgrade libxml I'm getting the following warning when performing a graceful restart with Apache.
Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: xmlResetError
The build etc seemingly works fine so far, and I only get this error message when doing a graceful restart, not with a start/stop.
I've done a similar build with 5.0.3 with no warnings.
I'm not sure this is possible, so I thought I'd ask the experts. I've got a bunch of PHP code that sits behind Apache and responds to requests.
I now want to run some PHP code that doesn't respond to requests, but rather runs independantly. For instance, when Apache starts, it would be great to have it kick off some function I've registered.
This function wouldn't be in reaction to a requst, but rather some general housekeeping taks. I know that I could do these things after receiving my first request, but that really won't work for the housekeeping tasks I need to do.
i installed php mysql and apache and i get this error message on start up:
PHP Startup: UNable to loaddynamic library 'c:/php/extphp_pdf.dll'- The specified procedure could not be found.
i installed php 5.0.0, the php_pdf.dll was missing so i downloaded php5.0.5 and installed just the php_pdf.dll from that package but i still get message above. i noticed a backslash in the file name ('c:/php/ext php_pdf.dll'), should this be a forward slash? and if so what file do i change to look for the right extension?
I'm about to embark on a web startup project involving e-commerce. (somewhat similar to eBay). I've decided to use PHP as the programming language. Is it recommended to use any PHP framework like CakePHP or Zend with MySQL database for this kind of project? Doing it from scratch can cause much pain and it will be time consuming.What is your opinion about this? How other well known startups have done it?
at startup I get three similar error messages about three DLLs: php_sqlite.dll, php_curl.dll and php_gd2.dll. I searched the group for similar problem but the solutions proposed there did not help. - I copied the DLLs to Windows directory - I checked php.ini to make sure the extensions were uncommented and there was an extension_dir directive.
One thing I had noticed in the error messages was the direction of slashes: "Unable to load dynamic library c:phpextensions/php_curl.dll"
I am trying to run apachectl by loading php5 module into it. This results in SIGABRT at the time of startup and Apcahe aborts. If I comment out LoadModule for php library then it starts peacefully. My apache version is 2.2.3 Code:
As the title says, I want to know if it is be possible to automatically launch a PHP script when a restart of apache is done. I will try to explain what is the purpose of this, the best I can. We are currently refactoring our application and we'll be stuck with 2 differents configuration file system for the time being, until all of the application flows are refactored (might take more than a year).
The old one is using simple flat file in the key=value format (i.e. [URL]), while the new system will use cacheable php files (i.e. www.php). We need to replicate to www.php any config changes made in www.conf. Since Apache gets restarted whenever there is a config change in www.conf, I thought it might be a good workaround solution to launch a PHP script, that would replicate the www.conf to www.php.
I have juste updated my CentOS server. PHP is now at the 5.2.10 version (php-5.2.10-1.el5.remi.i386), and I have installed PECL Runkit. tzdata was updated too (tzdata-2009i-2.el5.noarch). Since the update, Apache refuse to startHere is the httpd/error.log
Since yesterday, when I try and start apache, I get the following message:
Warning: PHP Startup: Unable to load dynamic library 'C:Program FilesPHPextphp_mysql.dll' - the specified procedure could not be found.
I am running PHP 5.0 on Apache 2 and have been for some time. I got this error when I first installed PHP5/Apache2 on this machine (a totally fresh install - HDD reformat!!) However, it went away, and I can't remember what I did to get rid of it.
I originally thought it was because I had a space in the location of the dll. but I have been running it this way for a long time. I have not changed my php.ini recently, other than trying to solve this problem (not got any further than just commenting/uncommenting the line that loads that module.
The module is definitely located where it is looking. I have no clue what is going on.
I am about to build the backend for my startup, which will be mainly offering a REST service, but HTML content will become available later. I am an experienced PHP developer and was thinking about building it in PHP first, but many people try to convince me to switch to Ruby. I would love to, but I have the following concerns:
I want to create a prototype quickly, learning a new language costs me a lot of time. Right now I do not have a second developer who has Ruby expertise, so if I am stuck searching for a bug somewhere, it is worse than being stuck in PHP, where I know a bunch of people to get assistance from.
Some of the arguments people are making in favor of Ruby are:
It is easy to find good developers for Ruby, because the language itself is a filter. Using a framework like Sinatra would speed up my development time drastically Ruby is fun
I am developing the code to start an instance of an EC2 image on Amazon Web Services, there are 2 steps
1) start the instance
2) allocate our Elastic IP address to the started instance
Is there a way to carry out both of these in a single command? I will be running a .bat file to start the instance, and then when the instance is running I will use the REST query API to call AssociateAddress. I'm not sure yet how best to determine when the started instance changes from pending to running other than making periodic calls to it. Am I able to associate an IP address to a pending instance?
I was trying to enable the soap.so extension but here's what echoing when trying to generate the .wsdl PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/php_soap.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/php_soap.so, 9): image not found in Unknown on line 0I'm running PHP 5.3.2 on MACOS X 10.6.4What i have to do to fix that error please ?m tells me that soap.so is activated
By "common script startup sequence", what I mean is that in the majority of pages on my site, the first order of business is to consult 3 specific files (via include()), which centrally define constants, certain functions used in many scripts, and a class or two, as well as providing the database credentials. I don't know if there's a more standard term for such a setup. What I want to know is whether it's possible to have too many of these and make things slower as a result. I know that using include() has a certain amount of overhead because it's another file to look for in the filesystem, parse, and execute. If there is such a thing as too many includes, I want to know whether I am anywhere near that point. N.B.
Some of my pages include() still more scripts that they specifically, individually need (for example, a script that defines a function used by only a few pages), and I do not count these occasional extra includes, which are used reasonably sparingly anyway. I'm only worrying about the 3 includes that occur on the majority of pages and set everything up. What are the 3 includes?
Two of them are outside of webroot. common.php defines a bunch of functions, classes and other things that do not vary between the development and production sites. config.php defines various constants and paths that are different in the development and production sites (which database to connect to, among other things).Of course, it's desirable for this file in particular to be outside of webroot. config.php include()s common.php at the bottom. The other one is inside webroot and contains a single line: include [path to appropriate directory]/config.php The directory differs between the development and production sites.