PHP is a widely-used general-purpose scripting language that is especially suited for Web development.

learn more… | top users | synonyms

0
votes
1answer
225 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
1answer
402 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
1answer
14 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 ...
0
votes
1answer
430 views

Remove everything related to PHP on Debian Server

I tried to compile PHP5.4 by myself with ZTS support which worked fine, but it seems that whenever I install extension with apt-get like apt-get install php5-mysql, it does not get installed into the ...
0
votes
1answer
730 views

install php-fpm on centos after remoe it

i install php-fpm and php-mysql and nginx then i remove it and update servers kernel. now, when i want to install php-fpm ,.. dont install $>uname -a 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 ...
0
votes
1answer
76 views

Run script under OSX _www user account

I have a small internal for my use only php website which triggers a bash script to do some app signing etc. I need that bash script to run some ruby gems. (Security is not important.) The way I see ...
0
votes
1answer
394 views

Updating database table values through AJAX

My test.php page is as under: <!DOCTYPE html> <html lang="en"> <head> </head> <body> <h3>Setting</h3> <p>Name:<input type="text" id="updatetherone1"/...
0
votes
1answer
115 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...
0
votes
1answer
191 views

Prevent access to my PHP page source?

If I publish a PHP page (e.g. mypage.php) on my hosted web space (the URL of the PHP page is publicly known, e.g. http://example.com/mypage.php), can a hacker access in some way the PHP source of this ...
0
votes
1answer
497 views

nginx php can't write files on centos machine

I have this PHP code: <?php $myfile = fopen("testfile.txt", "w") ?> And the following permissions in my '/usr/share/nginx/html' directory drwxrwxrwx. 3 root root 4096 Nov 20 08:51 . drwxr-...
0
votes
1answer
580 views

PHPFarm with jpeg integration

So I'm attempting to get phpfarm up and running, but for some reason can't get jpeg support from gd to work... Here are my config options configoptions="\ --enable-bcmath \ --enable-calendar \ --...
0
votes
1answer
220 views

cronjob not uploading to FTP

i have a php script that should take a file from one web server and upload it on another, when i run the script through a browser it works fine. when i use this cronjob it doesn't upload. 51 14 * * * ...
0
votes
1answer
555 views

Is my router/modem hacked or compromised?

Comcast gave me a gateway (Model: Arris TG862G/CT), and I was in the web interface setting up a static IP. I clicked Connected Devices (which has worked previously) and I got a blank white page (the ...
0
votes
1answer
2k views

How to install Horde Webmail on Ubuntu 14.04?

Am using Ubuntu 14.04. Am stuck with the following issue: My goal is to install and have running HORDER GROUPWARE 5.2 on my Domain/Hosting: Download on Github: https:// github .com/horde/horde/...
0
votes
1answer
280 views

Yosemite & apache server: The requested URL /Users/jcronin/Sites/media-ocean/index.php was not found on this server

I am currently trying to reconfigure my local apache server. I have run a brew upgrade and have followed the tutorials on coolestguideontheplanet.com. I can get the first page of my Drupal site to ...
0
votes
1answer
5k views

Ho do you stop and start php-fpm?

Ok I'm trying to install Ion Cube on an AWS instance created by Bitnami: https://aws.amazon.com/marketplace/pp/B007OUYR4Y/ref=srh_res_product_title?ie=UTF8&sr=0-4&qid=1413489962522 ...
0
votes
1answer
472 views

Restart TOR service using PHP execution

I want to restart my TOR service with a PHP script in order to receive a new IP address. The reason why I plan to do that is because Google and some other sites start blocking me sometimes. I tried ...
0
votes
1answer
328 views

PHP read permissions messed up

I'll try to be as clear as possible. On my server which runs on ubuntu 14 i installed mutlicraft (a minecraft control panel). After uploading the server i noticed that the server wont run. Thats ...
0
votes
1answer
495 views

Accessing a PHP(xampp) page on local machine from Android

I was trying to access a localhost page using 192.168.56.1. which was working fine yesterday on my emulator as well as in my device . But today when I tried, it is not working I am getting timeout ...
0
votes
1answer
605 views

Forcing SSL on phpmyadmin

I couldn't decide which website this question we be on (since I see it almost everywhere) so feel free to migrate. I've set up a self-signed SSL cert on my server to secure my installation of ...
0
votes
1answer
298 views

Apache is slower on other computers on local area network than on localhost

I have few computers connected into network. There's a server inside that network which hosts WAMP (Windows + Apache + PHP + MySQL). There is Windows 7 x32 Pro installed on it. I can ping that server ...
0
votes
1answer
125 views

Parent process details from the batch script - find out what called the batch script

We have a batch file which is calling php scipts. Php script load some data files to our system. I cannot understand what is starting that batch file in the middle of the night. I cannot find any ...
0
votes
1answer
33 views

How multiple domain can point to same website source code?

Here I am looking for solution like as below. I have multiple website those all should point to one common script folder on a hosting "example.com" --> ".../username/home/public_html/" "abc.com" --...
0
votes
1answer
608 views

Can't get php script to connect to asterisk internal mysql database

I'm trying to get a PHP script to connect to Asterisks internal sql database. I tried the to use the standard method for example $con = mysqli_connect("192.168.1.126","root","mysql","asterisk"); ...
0
votes
1answer
400 views

Drush commands not found when called from a bash script

Relevant system background: I'm using MAMP on OSX. Output of which php is /Applications/MAMP/bin/php/php5.3.14/bin/php Output of which drush is /Applications/MAMP/bin/php/php5.3.14/bin/drush Output ...
0
votes
1answer
1k views

wget index.php redirection - The name is too long

I am trying to get a copy of the catalog. I would love to get the "List View" and "Show Object" details. The URL I am tring to wget is: http://catalog.quittenbaum.de/index.php?_function=list_objects&...
0
votes
1answer
894 views

Difference between connecting to 127.0.0.1 and server ip

I am brand new to php, databases, and linux and had a problem where I could not connect to mysql databse with the php mysql_connection function. When I used the ip address of my VM I kepy getting a ...
0
votes
1answer
52 views

Mozilla Thunderbird HTTP Authentication

I set up Mozilla Thunderbird on Windows 7 Enterprise, and I set my main page to my own site. (Which requires HTTP/1.1 authentication). Before I even have an HTTP authentication window (displayed for ...
0
votes
1answer
660 views

Unable to start bash script with shell_exec

I've been googling and trying to solve this problem with my php script for a few days now and I'm hoping someone here can see the problem I'm missing in getting my php script to kick off my bash ...
0
votes
1answer
242 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one http://...
0
votes
1answer
125 views

Can't login to local phpmyadmin

Hy, I've just installed MySQL and PHPMyadmin on my OS X Maverics, following this link: http://www.coolestguidesontheplanet.com/downtown/get-apache-mysql-php-and-phpmyadmin-working-osx-109-mavericks ...
0
votes
1answer
138 views

login to phpmyadmin on suse 13.1 fails

' i try to login to PhpMyAdmin (on opensue 13.1 lamp) and get error: Login without a password is forbidden by configuration (see AllowNoPassword) What should i do for enter to phpMyAdmin without set ...
0
votes
1answer
5k 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 ...
0
votes
1answer
1k views

Why none of the rainbow parentheses plugins work with filetype=php?

I've tried a dozen rainbow plugins. They all work, until i open a php file or set filetype=php. Then I get parentheses with the same color in that buffer. what is the reason for this? I tried ...
0
votes
1answer
3k views

Upgrade my xampp for linux (UBUNTU) using command line

I have xampp version 1.7 but I want to upgrade it in newest version from command line. Is there any command to upgrade xampp for ubuntu using command line?
0
votes
1answer
169 views

Can I remove the “New table” button from the Navigation Tree in PHPMyAdmin (4.0.9)?

Every database listed in the left-hand pane has a "New" button for creating a new table, i.e. the first item in this tree. It takes up room and I don't need it. There doesn't seem to be a config ...
0
votes
1answer
895 views

object not found in lampp ubuntu 13.10

am a newbie linux user.i have installed xampp 1.8.3-2(lampp)on ubuntu13.10 and configured it. i paste my wwwfolder to ubuntu 13.10 in/opt/lampp/htdocs. now the owner of www folder is root with ...
0
votes
1answer
270 views

apache access.log requests from localhost to localhost

My server is spamming via postfix from www-data user. In apache access.log: 90.156.208.121 - - [20/Jan/2014:17:24:01 +0300] "GET /treningi.php HTTP/1.0" 200 21025 "-" "Mozilla/5.0 (Windows NT 5.1; ...
0
votes
1answer
216 views

I've made a php page as a cron job, how should I format the page?

So, a while back I was looking at how to make them, got it just about figured out, and then found out with 000webhost you can only link to files in your website, and couldn't write a command line ...
0
votes
1answer
213 views

CentOS upgrade PHP compile modules

I'm currently using CentOS 6.4 which by default comes with PHP 5.3.3 (installed via yum install php). I now wish to upgrade to the latest version of PHP. I already downloaded and compiled PHP. However,...
0
votes
1answer
580 views

Executing System call in PHP to run SCP asks for password, every time, even though SSH key is set up

So I am creating a PHP script that uploads an image from my local environment to a remote server. I have my SSH keys set up on both ends and if I simply execute the scp command in terminal it ...
0
votes
1answer
207 views

How do I monitor resource usage of crond php scripts?

I am using a VPS which is running 5 php scripts on a minute by minute basis using cron. Each script, itself, loops to execute a mysql query then sleeps for between 5 and 15 seconds. They all ...
0
votes
1answer
989 views

installing apache, php5 on windows 7 64 bit [production]

The easiest way to install apache, php, mysql and phpmyadmin on windows is to download and install XAMP. The problem is that it is meant for development purposes and is not recommended for production ...
0
votes
1answer
170 views

Extracting Data from PHP Codes

I am fetching data from a third party software in the form of CSV; while the remaining data is downloaded correctly; whilst there is one column that returns PHP codes. This code contains useful ...
0
votes
1answer
394 views

How do I fix the default version of PHP after uninstalling PHP OSX?

I installed PHP OSX because I wanted to test some PHP 5.5 code on the command-line/interactive shell. On my local web server, I started receiving errors in functional code from before I installed PHP ...
0
votes
1answer
126 views

Windows 8 Enterprise Fail to boot after environment variable setting

I have some problem with my PC after using windows 8 enterprise edition. I use my PC for web development work. So for using PHP framework i need to set the environment variables, in my case i set to ...
0
votes
1answer
165 views

Wget getting responce 403

I am using API that has some limit of requests in an hour. But my script does all at one time so I lose about 1/3 of requests because I get 403. Is there any way to check response of wget and if I ...
0
votes
1answer
43 views

Configure a Win server 2003 to php

We have a Win server 2003 SP2 that we do not use now but it would be great to turn this into a php server. What we would like is to use the latest php version 5.5.* and all the mod cons, but before i ...
0
votes
1answer
169 views

Can search find files within unexpanded folders in Netbeans projects sidebar?

In the Projects sidebar of Netbeans, when you start typing letters a partial name match is done on files being displayed the sidebar (a sort of quickfind just by typing, not the ctrl+f find dialog box)...
0
votes
1answer
168 views

How to use built-in PHP-FPM in OS X Mountain Lion?

I would like to know how php-fpm included in Mountain Lion (v10.8.5) can be used (eg. with NGINX). I am afraid that some configuration might be needed before it is actually used. NOTE: I know how to ...