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
1answer
13 views

Roundcube, php 5.6 and self-signed certificates

I am currently porting one of my servers to another. That server is running Postfix + Dovecot using a self-signed certificate. My web-frontend used to be roundcube. Now is the problem, that the new ...
1
vote
0answers
8 views

Impact of adding a 32-Bit ODBC driver to a 64-Bit Win Server 2008 R2

Would there be no problem if i ADD another ODBC driver to a server (a 32bit version to cater my 32bit PHP application) with an existing ODBC 64bit version? Would it not create confilict to other ...
-2
votes
0answers
9 views

neebie . get a bash file that can be run and seen on a html.pnp page

I have a bash file, that when run from putty works and makes a connection to my media server and copies the username and password to a file. Is there a way for this to be able to be run from a php or ...
0
votes
1answer
18 views

PHP: Get value from external script, and put into variables

I (will) have around 800 products in a Wordpress installation. If I need to update prices, I don't want to have to locate / open / change / save umpteen files via the admin panel. So my idea is to use ...
0
votes
0answers
3 views

PHP file printed to file

I have my PHP scripts in my public_html file and when I try to run them in browser, the file entire file is printed instead. Is there a way to fix this? I'm not sure if this is a problem with my lamp ...
0
votes
0answers
5 views

Postfix errors when triggering mails from a server different than the mailserver

We used to have a server for everything, where our PHP scripts and the mail server would run on the same server. Now we moved our php scripts to a different server and we seem not to be able to send ...
0
votes
0answers
17 views

Best option for large batch process of email dispatches? [on hold]

I've got a table with over 5,000 email addresses in it, and I need to send each one of them an identical email. I need to decide which would be the most efficient way of sending all these out, ...
0
votes
0answers
4 views

XML Parsing Error: junk after document element [migrated]

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
1answer
13 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
18 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
0answers
25 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. ...
1
vote
0answers
23 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 ...
0
votes
0answers
20 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
6 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
16 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 ...
0
votes
0answers
17 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 ...
-1
votes
0answers
26 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
25 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
2answers
27 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 ...
1
vote
0answers
21 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
27 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
16 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
10 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"; ...
1
vote
1answer
23 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
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
3answers
40 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 ...
1
vote
1answer
17 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
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 ...
0
votes
0answers
24 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 ...
3
votes
3answers
457 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
56 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 |-- ...
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 ...
0
votes
0answers
12 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 ...
0
votes
2answers
61 views

FTP is corrupting files since a few days

Since a few days, every ftp upload I run corrupts files over a certain size, mostly after 400 - 500 lines of code, the file breaks, starts all over from the beginning, and then after a few lines ...
0
votes
0answers
39 views

How to send COOKIE, PHPSESSID from my own webserver to php5-cgi script to execute PHP pages

I am developing a Webserver in C. I know how to pass environment variables to ph5-cgi, eg: putenv("QUERY_STRING="); putenv("REQUEST_METHOD=GET"); putenv("REDIRECT_STATUS=true"); ...
2
votes
0answers
10 views

Customise HTML-Kit Tools syntax highlighting

I'm using HTML-Kit tools to edit a PHP site. The syntax highlighting's really helpful, but it would be good if I could edit it, specifically so that my custom functions would be highlighted (as ...
1
vote
1answer
68 views

PHP 5.6.6 loading but not interpreting in Apache2.4 64 bit Windows

I have installed Apache 2.4.12 (Win64) VC11 from Apache Lounge. Typing httpd -M tells me that php5_module is loaded and shared. I have PHP 5.6.6 win32 VC11 Thread Safe installed. The Apache server ...
0
votes
1answer
56 views

PHP PECL Sphinx module won't install

I'm trying to install the PHP Sphinx client (PHP 5.6) on my Debian 7 server using PECL. I get the misleading error "wrong libsphinxclient version or lib not found" when trying to build, even though ...
0
votes
0answers
15 views

ISPConfig3: No PHP MySQL function available

This message is given when I configure ISPC3 with php -q install.php The ISPC3 output: ISPConfig3: No PHP MySQL function available. Please ensure the module is loaded. I've tried to install the ...
0
votes
0answers
23 views

php.ini changes not reflected to website

i am unable to edit the php.ini changes. i changed in the etc/php.ini and also in home/domain/etc/php5/php.ini But the changes are not be reflected when i see on the php files. i am using phpinfo() ...
0
votes
0answers
35 views

Turning off send mail as nobody on WHM, existing PHP scripts with mail()

I've turned off sendmail as nobody on WHM, to try to deal with some load issues on my server. However, this means that many existing PHP scripts under other accounts that have mail() in them do not ...
0
votes
0answers
14 views

How to set ownership/permission of PHP site that accessible by the user AND the apache user

I'm having problems with my PHP projects within /var/www set on permission www-data:www-data. My user can't write to these directories. I've added myself to www-data group and have added chmod -R ...
0
votes
1answer
110 views

Login script with PHP and MySQL doesn't work, users from database doesnt appear - probably rookie mistake

I am new at php and MySQL, and I might have a stupid mistake here, but I just cant find it.... The script returns that I have entered wrong password or username, but I am completely sure that both are ...
0
votes
0answers
26 views

ffmpeg start recording at certain time

I'm searching a ffmpeg option that let me start recording streaming source at a certain time: I start my php script with crontab, inside my php I run ffmpeg for X minutes. Ffmpeg takes some seconds to ...
0
votes
0answers
10 views

Phing - Alternative to fetching files using scp's fetch attribute using filesets

I have a Phing task like this: <scp host="myserver" fetch="true" todir="backup"> <fileset dir="upload" > <include name="**" /> </fileset> </scp> ...which ...
0
votes
1answer
220 views

unable to open phpmyadmin Error during session start; please check your PHP …etc

I have installed xampp on ubuntu. I can access on firefox localhost/xampp. However when I go to phpmyadmin on the left it comes up with "phpMyAdmin - Error" Then underneath that it has this: "Error ...
2
votes
1answer
95 views

bash- command does not work with php shell_exec

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
1answer
10 views

How to make titles bold based on date in WordPress?

I am having a WordPress site with static front page and it displays featured and recent posts....I am not using any widgets to achieve this, just using a custom home page template. My requirement is ...