PHP is a widely-used general-purpose scripting language that is especially suited for Web development. The current version is 5.3.3, released on July 22, 2010.

learn more… | top users | synonyms

0
votes
0answers
11 views

WordPress won't load unless iptables is disabled

I am running CentOS 6.6 using nginx. WordPress will not load unless iptables is disabled. I tried to add the 9000 port for fastcgi, but that did not work. I am guessing it has something to do with ...
0
votes
1answer
5 views

Cannot install WordPress ($_POST is empty)

I am trying to install WordPress on my site under http://example.com/blog. What I did so far is: Download and unzip the most recent version of WordPress Upload the contents of the wordpress folder ...
0
votes
0answers
2 views

XML Parsing Error: junk after document element

So basically I set up my own wamp sever and trying to follow this tutorial (http://www.ibm.com/developerworks/library/x-androidtictactoe/). The problem is when I test my moves.php file from my sever, ...
0
votes
0answers
9 views

Linking files to be found by PHP server

What is the correct way to link local directory ~/dir to /path/dir, so that the PHP server looking for /path/dir/file.php will find ~/dir/file.php? In my concrete situation I am running XAMPP PHP ...
0
votes
0answers
5 views

Plesk 12 PHP Cache options

On my Plesk 12 vServer I've installed multiple PHP versions: PHP 5.3 PHP 5.4 PHP 5.5 PHP 5.6 I'd like to enable a cache method (APC, Redis, XCache or Memcache) for all of those PHP installations. ...
0
votes
0answers
5 views

Setup default PHP version in Plesk 12

I've just setup a Plesk 12 CentOS6 vServer. I installed some PHP-versions like 5.4, 5.5 and 5.6. The customers can change the running PHP version in the interface. All is working fine, but I have one ...
4
votes
2answers
3k views

How do I upgrade PHP on CentOS and Kloxo?

I need to upgrade PHP so that I can upgrade joomla on my dedicated server. I have: kloxo 6.1.6 php-5.2.17-1 Linux CentOS-55-64-minimal 2.6.18-194.32.1.el5 x86_64 x86_64 x86_64 GNU/Linux I searched ...
1
vote
2answers
20 views

PHP server permissisons for files and directories granted, but still not allowed

I have php code on Codeanywhere where I'm simply trying to create a file on the server but yet gets the following error : "Warning: fopen(file.txt): failed to open stream: Permission denied in ...
0
votes
0answers
4 views

Can I use an outgoing service on my SMTP server on a differnt port to 587/465?

Creating my own SMS service using PHP and came to an impasse: the firewall uses ports 587 and 465 for SECURE IMAP so it's a no go to use TLS or SSL on those ports. Is there a way I can use different ...
0
votes
0answers
11 views

Lost trying to set up mail server forwarding. iRedMail Roundcube Mail

I'm rather new to linux, setting up email servers, and programming in general. I'm using AWS ubuntu to create an iRedMail email server. I have the basics set up but I can't figure out how to set up ...
8
votes
1answer
19k views

How to manually install Apache, PHP and MySQL on Windows?

How do I install Apache with PHP support and the MySQL server on Windows without using any ready-to-use packages like WAMPServer or XAMPP ?
2
votes
0answers
18 views

PHPBrew: Call to undefined function pg_connect()

I installed PHPbrew on my Ubuntu 14.04 desktop to be able to switch to PHP 5.4. This works, and Apache is now using 5.4. However, when I try to connect to the Postgresql database server, I get the ...
2
votes
2answers
24k views

Configuring Aptana 3 to work with PHP & XAMPP

I have installed XAMPP and aptana. But when I run my php file it shows me a text format of it. (I've started XAMPP in the background) What did I do wrong? Edit: Now I think I found the problem, ...
0
votes
3answers
3k views

How to Configure Adobe Dreamweaver CS6 with PHP and ASP .NET?

I have Wamp Server on my PC and also Visual Studio and I want to Configure Adobe Dreamweaver CS6 with ASP .NET and PHP so that I Can design Dynamic website....
0
votes
0answers
11 views

Setting up php to send email through IIS

I have a wordpress site on my Windows 2012 R2 IIS server. I have installed SMTP. These are the setting I've done in php.ini: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = localhost ...
0
votes
1answer
2k views

How to install Imagick on Mac OS with XAMPP

I'm having some trouble installing Imagick on a Mac. I have XAMPP installed and when I run sudo pecl install imagick, I get this error: checking ImageMagick MagickWand API configuration program... ...
-1
votes
0answers
15 views

Struggle to get SqlSrv to work on Windows 2012r2

I need to connect to a SQL Server database from PHP. I'm given a Windows 2012r2 machine and installed XAMPP on it and then continued to copy php_sqlsrv_56_nts.dll into php/ext and modified my php.ini ...
0
votes
1answer
17 views

Google Maps API and bandwidth consumption

I have a site that uses 2 Google Maps APIs. https://maps.googleapis.com/maps/api/js and https://maps.googleapis.com/maps/api/geocode/json This "mapper" site communicates with 2 Google Maps APIs, ...
1
vote
0answers
18 views

Not able to run php files on apache server using NetBeans IDE

I want to create a php project using NetBeans IDE. I have set a LAMP server on my ubuntu 14.04. So I had to configure the IDE to copy files automatically to the apache server.I followed this - ...
0
votes
1answer
23 views

Shared hosting: how do they estimate server CPU usage? [closed]

I'm using several shared hosting services and wondered many times: how do they calculate those "CPU seconds"? For example one of those limiting me with 300,000 seconds/month, 10,000 seconds/24h and ...
-1
votes
0answers
27 views

How to enable PHP in Yosemite 10.10.3 [duplicate]

I want to setup apache server and php in MAC OS X 10.10.3. This is included in Yosemite, but we require to enable it. Any one knows how to enable PHP and configure the deployable sites ? I have ...
0
votes
0answers
13 views

Write permissions to xampp on windows 7

I have installed xampp on windows 7 in C:/ directory. I am trying to run a PHP installation file (timetrex installation) I am getting the following error: ...
0
votes
0answers
7 views

nginx configuration - Allow local access (different rules for local requests?)

I'm working on a debian 7 nginx server. Because the server is online available, I restricted the access with following lines in the site-configuration ( server {} ): auth_basic "Restricted"; ...
0
votes
1answer
3k views

how to enable event MPM Apache 2.4 Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu server 14.04 expecting the default apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
1
vote
2answers
453 views

Interpreting PHP offline?

I'm trying to learn PHP, and it's getting annoying having to upload a file to the server every 30 seconds. Is there a way to get a browser (I use Chrome on Mac 10.6.7) to interpret a PHP file (browser ...
1
vote
1answer
22 views

why does my local hosts file enable me to see remote server php files?

I have a hosting package with some company. They give me a temporary URL at which I can access the site and see HTML files. But when I try to access PHP files it gave me an error (500 Internal Server ...
0
votes
0answers
25 views

exception to domain forwarding

I have forwarded a domain from a hosting site to our own http server. I would now like to host some pages directly on host server to take advantage of some of the services they have; for example - a ...
1
vote
2answers
1k views

Apache loading PHP module - undefined symbol: unixd_config

I'm configuring a new web server on a RedHat 6.5. I try do enable the php5 module on Apache 2.4.6 as following: LoadModule php5_module /usr/path/to/libphp5.so AddType application/x-httpd-php .php ...
3
votes
3answers
4k views

Error message: sudo: mysql_secure_installation: command not found

I'm trying to learn PHP and I'm just in the process of installing apache,msql and PHP. I'm on a mac osx 10.7.2 I downloaded: mysql-5.5.18-osx10.6-x86_64.dmg I'm now at the point of setting the ...
-1
votes
0answers
39 views

Site hacked! Malware on site being accessed by some IPs [migrated]

I found this php malware file on my server. And when I went to 'apache status' in WHM. I saw some entries where some IPs where trying to access them. Is there a way I can tell how the malware file ...
1
vote
2answers
3k views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
1
vote
1answer
2k views

Why NetBeans ( php - remote project ) change permission of files to 0600?

I'm using NetBeans for editing some php files ( in a php project ) at remote server. all go normal, but when saving the edited file using NetBeans, the file's permissions are set to 0600 by default, ...
2
votes
1answer
6k views

apache 2.4 + php 4.7 cannot load php5apache2_4.dll

I am trying to make Apache (httpd-2.4.3-win32) to work with PHP 5.4.7 (VC9 x86 Thread Safe) on Windows 7. Apaches default page is working and proudly says: "It works". PHP CLI is working and ...
1
vote
1answer
15 views

Limit PHP permissions

I want to set it up so that PHP scripts can only read/write files contained in a certain directory and nowhere else on the hard drive (preferably, per virtual host). I figured I could do this by ...
0
votes
1answer
32 views

MYSQL UTF8 characters encoding issue [closed]

I have a contact form for a Turkish website and when users enter Turkish characters such as "ş" "ç" or "ğ" I am getting whole bunch of symbols in my DB registry (PHP My Admin) My current config is ...
1
vote
3answers
38 views

Is python server side or client side? [closed]

I am debating on using python or work with JavaScript & PHP. Basically what I am trying to do is run an algorithm against some data pulled from my database. ( the algorithm can be very demanding ...
0
votes
0answers
21 views

Installed PHP extensions to wrong PHP version

I just bought a VPS and it came with PHP5.3.3 and that wasn't good for our website, so I successfully (so it seemed, anyway) installed PHP5.6.7 and successfully registered it with Plesk. For the ...
2
votes
4answers
7k views

Copy entire website including PHP and SQL?

Is it possible when copying an entire website and template using wget (httrack or other program) to also get the PHP code and the SQL database? What software would I need to copy/mirror a site like ...
3
votes
3answers
445 views

Which is the best and simplest Windows Subversion client I can install to get the Google Client Library for PHP?

My operating system is Windows 7. The google-api-php-client is made available on GitHub, and can be downloaded with Subversion. The documentation provides the exact command line command to download ...
0
votes
0answers
21 views

XAMPP Apache error AH01599: Cannot get media type from 'x-httpd-php53'

I'm trying to setup Xampp on a Mac (OSX 10.10.2), its setup and normal PHP runs, however when I try and run a Wordpress site the PHP code doesn't execute, it just prints out in the browser and I keep ...
0
votes
2answers
2k views

PHP mail() function not working in Mac OS X

I know this question has been asked many times and people use to give many solutions. I have followed almost all the possibilities which I come across after investigating on it. but nothing worked ...
0
votes
0answers
50 views

Nginx + PHP projects outside of root

I'm trying to setup project directories outside of my server root in Nginx 1.0.15 (I can't get any newer versions due to environment). I want my directory structure to look like this: /var/www |-- ...
4
votes
5answers
7k views

apache client denied by server configuration after mac OS X upgrade to Yosemite

I know this looks similar to other questions but Yosemite seems to have changed something with apache configuration with the upgrade. my error log says " client denied by server configuration: ...
1
vote
0answers
30 views

File exists but returns “The system cannot find file specified” when using UNC path [migrated]

I'm using PHP to check if a file exists and then get it's size. The code worked great before but now that we're using a UNC path I can check that the path exists with file(exists($filename)) but ...
3
votes
3answers
4k views

How to log php error in a separate file?

I just did an upgrade of my server to Fedora 17 and merged some configuration files containing .rpmnew into the existing ones. I have been successfully logging my php errors in a separate log file by ...
0
votes
1answer
4k views

Curl Returns “Connection Refused” when trying to access localhost

I am running Xampp (Apache, Mysql and PHP) on my Windows Vista computer. I have curl installed on my machine. When I try to curl my localhost in the command prompt, I get the following: curl -v -i ...
0
votes
0answers
18 views

Once again Trovebox (OpenPhoto) setup hangs/fails at final step 3

Trovebox setup doesn't proceed beyond step 2. Gives a blank page 3 Having the same issue as this post but advice there is not resolving my issue Trovebox (OpenPhoto) setup hangs/fails at final step ...
1
vote
2answers
4k views

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
0
votes
0answers
10 views

How to install package with locale dependencies?

I've built my own PHP5.5 on my RedHat6.6 two month ago in order to support Sybase database connections. Today I want to enable memcached support. I tried yum install php55-php-pecl-memcache.x86_64 ...
3
votes
2answers
707 views

Can't access wiki site through any other computers on my LAN

I am trying to set up an internal wiki site for my company. Product info, specs that sort of thing. I have downloaded and installed WAMP Server 2.2 (Apache 2.2.22 MySQL 5.5.24 PHP 5.3.13) as well as ...