See the performance comparison of Drupal 7 compiled by Hiphop for PHP vs APC vs regular PHP

The article can be found at http://php.webtutor.pl/en/2011/05/17/drupal-hiphop-for-php-vs-apc-benchmark/

It compares the performance of Drupal 7 ran as a regular PHP script vs script compiled with HipHop for PHP vs APC enabled PHP script.

It seems that Drupal 7 compiled with HipHop for PHP translator is up to 5 times faster than a regular PHP script.

How to change the position of articles text and image

Hi, I'm new here!

I just installed Drupal, and I have a little problem ....

When posting an article with an image the text goes under the image like here:
http://i55.tinypic.com/2saayk7.png
How can I move the text in to the right of the picture, like this:
http://i55.tinypic.com/110kj91.png

URGENT: "Triggers" page will not load

When I click Structure and then Triggers, nothing happens. There's a message at the top that says Loading...... for like 5 minutes already and nothing ever happens. What can I do?

TIA

$_POST in FAPI form using #method & #action

I have been tasked with replacing a webform based donation process which used the confirmation page to post data to an external url with an html form with all input elements hidden and only the submit button showing
I have created a form in a module using the D7 FAPI, with validation using a function and a submit handler function where I write to a custom table created via the schema hook.
Presently in my form, when the submit button is pressed, the validation handler is invoked and assuming no errors are found, a record is written into the custom table. (so far so good)

During the submission process I want to $_POST the form’s data to a form on an external URL using the HTTPS protocol, and, assuming the external transaction is successful, writing to the custom table and sending out acknowledgement emails.

I have looked into the #method and #action attributes of the Form, but I understand that they are used for internal URLs only. Additionally, I have not been able to determine if the $form_state array would remain available while the external URL form is processing

What impact does the #method & #action attributes have on the validation and submit handlers?

Blank page when selecting appearance settings

I Get a blank page when i select appearance settings and the system is showing the following error can anyone help?

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'drpl_get_form' was given in menu_execute_active_handler() (line 501 of /home/www/mysite.co.uk/includes/menu.inc).

Can't clear cache with Drush or admin

I just updated a template file and cleared the cache with drush. The process took way longer than usual, so I stopped it. I tried again, and same thing. Doesn't work in the performance interface either. Any suggestions?

EDIT: Nevermind, some douche was compressing a 32gb file on our webserver.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x